<!DOCTYPE html>
<html class="root platform-win" lang="zh">
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
  <meta charset="UTF-8" />
  <title>个人设置 - 作者中心</title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link href="http://author.hotread.com/favicon.ico" rel="shortcut icon">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="renderer" content="webkit">
  <link rel="stylesheet" href="/css/normalize.css">
  <link rel="stylesheet" href="/css/common.css">
    <link rel="stylesheet" href="/css/settings.css">
</head>
<body>
  <header class="header">
   <div class="container">
    <a class="slogan" href="/"> <img src="/image/slogan.png" alt="" /> </a>
    <span class="user"> <a href="{{url('auth/logout')}}">退出登陆</a> </span>
   </div>
  </header>
  <div class="container">
   <div class="nav">
    <h4>作者中心</h4>
    <ul>
     <li class="item"><a href="{{url('work')}}">作品列表</a></li>
     <li class="item"><a href="{{url('subscribe')}}">订阅收入</a></li>
     <li class="item"><a href="{{url('reward')}}">打赏收入</a></li>
     <li class="item"><a href="{{url('comments')}}">评论管理</a></li>
     <li class="item active"><a href="{{url('authorset')}}">个人设置</a></li>
    </ul>
   </div>
   <main class="content fl user" id="userSetting">
    <section class="user-main">
     <div class="right-header right-boder wryh-font">
     </div>
     <form class="" action="" method="post" enctype="multipart/form-data">
       {!!csrf_field()!!}
       <div class="user-pic">
        <span class="pic-text">作者头像：</span>
        <p class="pic-img" style="background: rgba(0, 0, 0, 0) url(&quot;{{$user->user_img}}&quot;) no-repeat scroll 50% 50% / cover ;"></p>
        <input type="file" name="pic" value="上传">
       </div>
       <div class="user-describe">
        <span class="pic-text">个人说明:</span>
        <div class="textarea-box has-value" data-placeholder="个人说明">
         <textarea class="describe" maxlength="150" name="desc">{{$user->desc}}</textarea>
        </div>
       </div>
       <div class="works-describe">
        <!-- 作品描述 -->
        <span class="works-text">已发布过的作品说明：</span>
        <div class="textarea-box has-value" data-placeholder="作品说明">
         <textarea class="describe" maxlength="150" name="works">{{$user->works}}</textarea>
        </div>
       </div>
       <input type="submit" class="btn button" value="修改">
     </form>
    </section>
   </main>
  </div>
 </body>
</html>
